ifPresent

inline fun <A> Option<A>.ifPresent(f: (A) -> Unit)(source)

Runs a side effect if the option is a Some. Same as forEach, just a different name for better symmetry with ifAbsent.